Augmenting Code with In Situ Visualizations to Aid Program Understanding

نویسندگان

  • Jane Hoffswell
  • Arvind Satyanarayan
  • Jeffrey Heer
چکیده

Programmers must draw explicit connections between their code and runtime state to properly assess the correctness of their programs. However, debugging tools often decouple the program state from the source code and require explicitly invoked views to bridge the rift between program editing and program understanding. To unobtrusively reveal runtime behavior during both normal execution and debugging, we contribute techniques for visualizing program variables directly within the source code. We describe a design space and placement criteria for embedded visualizations. We evaluate our in situ visualizations in an editor for the Vega visualization grammar. Compared to a baseline development environment, novice Vega users improve their overall task grade by about 2 points when using the in situ visualizations and exhibit significant positive effects on their self-reported speed and accuracy. ACM Classification

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Visualization of Procedural Abstraction

Visualizing impacts of an optimization pass helps to reason about, and to gain insight into, the inner workings of the optimization pass. In this paper, we visualize the impacts of two procedural abstraction passes. For this, we modified two procedural abstraction post pass optimizers to visualize for each the difference in machine code before and after optimization by drawing abstracted fragme...

متن کامل

A New Two Dimensional Model for Pollutant Transport in Ajichai River

Accurate prediction of pollution control and environmental protection need a good understanding of pollutant dynamics. Numerical model techniques are important apparatus in this research area. So a 2500 line FORTRAN 95 version code was conducted in which using approximate Riemann solver, couples the shallow water and pollution transport agents in two dimensions by the aid of unstructured meshes...

متن کامل

Interaction and Visualization Techniques for Programming

Programmers spend much of their time investigating the source code of a program, which often involves navigating and understanding delocalized code fragments. This Ph.D. project explores the use of information visualizations that are designed to support programmers in these activities. I use controlled experiments to provide precise measurements of the usability of visualizations and detailed i...

متن کامل

X-Ray in-situ saturation monitoring, an aid to study relative permeability in water-wet carbonate rocks

The simultaneous flow of oil and water in porous media is described by relative permeability curves, mainly derived from laboratory experiments. Relative permeability is of paramount importance in predicting reservoir production performance and drive mechanisms and its value depends largely on the volume fraction of fluids present in the test samples. Nowadays X-ray scanners are one of the most...

متن کامل

Research Report: Cacti: A Front End For Program Visualization - Information Visualization, 1997. Proceedings., IEEE Symposium on

In this paper we describe a system that allows the user to rapidly construct program visualizations over a variety of data sources. Such a system is a necessary foundation for using visualization as an aid to software understanding. The system supports an arbitrary set of data sources so that information from both static and dynamic analysis can be combined to offer meaningful software visualiz...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2018